package com.dhcc.sds.busi.dao;

import com.dhcc.core.framework.base.mapper.BaseMapper;
import com.dhcc.sds.busi.entity.SdsDimDataEntity;
import com.dhcc.sds.busi.service.impl.SdsDimDataServiceImpl;
import com.dhcc.sds.busi.vo.AnalysisSdsPortalVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SdsDimDataMapper extends BaseMapper<SdsDimDataEntity> {

    List<SdsDimDataEntity> selectNearYearRep(@Param("startMonthCnt") int startMonthCnt, @Param("endMonthCnt") int endMonthCnt, @Param("status") String status, @Param("type") String type, @Param("hospId") String hospId);

    List<SdsDimDataEntity> selectOrderByType(@Param("dimType") String dimType, @Param("entityCat") String entityCat);

    AnalysisSdsPortalVo selectFeeAndDaysByEntityId(@Param("entityId") Long entityId);

    List<SdsDimDataEntity> selectByDimTypeAndUserLinkDepts(@Param("params") Map<String, Object> params);

    List<SdsDimDataEntity> selectUpMonth(@Param("params") Map<String, Object> params);
}
